using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class crm_channel_RChannelModify : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //int cha_uid = 0;
            if (Request.Params["cac_uid"] != null && Request.Params["cac_uid"].Equals("") == false)
            {
                //Response.Write(Request.Params["cam_uid"]);
                int cac_uid = int.Parse(Request.Params["cac_uid"]);
                emp.BLL.Campaign_Channel cacBll = new emp.BLL.Campaign_Channel();
                emp.Model.CACModelInfo cacInfo = cacBll.getCACByUID(cac_uid);
                CHA_TYPE.Text = cacInfo.Cha_type;
                CHA_NAME.Text = cacInfo.Cha_name;
                fkQuestion.Text = cacInfo.iCAC_IS_RQUESTION.ToString();
                whQuestion.Text = cacInfo.iCAC_IS_CQUESTION.ToString();

            }
        }
    }
}
